*{
    margin: 0;
    padding: 0;
   
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.line{
    color:#ccc;
    margin: 0 8px;
}
.nav{
    width: 100%;
    height: 39px;
    background-color: rgb(250,250,250);
    border-bottom: 1px solid #777;
}
.nav-left,.nav-right{
    display: inline-block;
}
.nav-wrap li a{
    display: block;
    font-size: 12px;
    color: rgb(140,140,140);
}
.nav-wrap li{
    display: inline-block;
}
.nav-wrap{
    line-height: 39px;
    width: 1240px;
    margin: 0 auto;
}
.nav-right{
   float: right;
}
.search {
    margin: 25px auto 15px auto;
    width: 1240px;
    height: 70px;
    line-height: 70px;
}
.search>input {
    width: 380px;
    height: 40px;
    float: right;
    box-sizing: border-box;
    border: 1px solid #E0E0E0;
    position: relative;
    top: 30px;
    left: 100px;
}
.iconfont{
    background: url(../images/fangdajing.png) no-repeat center center
}
.search>a {
    display: inline-block;
    width: 125px;
    height: 40px;
    background-color: rgb(255, 219, 61);
    float: right;
    text-decoration: none;
    position: relative;
    top: 30px;
    color: #333;
    text-align: center;
    line-height: 40px;
}
.search>span{
    float: right;
    font-size: 12px;
    width: 115px;
    text-align:center;
    line-height: 30px;
    position: relative;
    left: 125px;
}
.search-btn {
    width: 40px;
    height: 40px;
    float: right;
    background-color: transparent;
    border: 1px solid #E0E0E0;
    position: relative;
    top: 30px;
    left: 100px;
}
.shopcar {
    background-image: url(../images/shopcar.png);
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
}
.search>span>i{
    background-image: url(../images/clock.png);
    display: inline-block;
    width: 15px;
    height: 16px;
    position: relative;
    top: 2px;
    right: 3px;
}
.contain {
    width: 1240px;
    height: 630px;
    margin: 0 auto;
}
.contain-top-nav {
    width: 100%;
    line-height: 40px;
    background-color: rgb(64, 65, 68)
}
.contain-top-nav>ul {
    letter-spacing: -5px;
}

.contain-top-nav li {
    list-style: none;
    display: inline-block;
    font-size: 18px;
    letter-spacing: normal
}
.contain-top-nav>ul li:first-child{
    width: 250px;
    background-color: rgb(255, 74, 0)
}
.contain-top-nav>ul li>a{
    color: #fff;
    margin: 0 24px;
    text-decoration: none;
}
.contain-left-nav>ul li {
    display: inline-block;
    width: 250px;
    height: 77px;
    border: 1px solid #ccc;
    border-top: none;
    border-right: none;
}
.contain-left-nav {
    width: 250px;
    height: 590px;
    position: relative;
    top: -10px;
    display: inline-block;
}

.contain-left-nav>ul li:not(:first-child) {
    margin-top: -4px;
}

.contain-left-nav>ul li>p {
    font-size: 12px;
    color: rgb(255, 74, 0);
    position: relative;
    top: 20px;
    left: 20px;
}
.contain-left-nav>ul li>a {
    text-decoration: none;
    font-size: 12px;
    color: #777;
    position: relative;
    left: 20px;
    top: 18px;
}
.contain-banner {
    width: 990px;
    display: block;
    float: right;
    height: 420px;
    position: relative;
    top: -10px;
}

.contain-bottom {
    width: 990px;
    height: 170px;
    float: right;
    position: relative;
    top: -182px;
}

.contain-bottom>img {
    border: 1px solid #ccc;
    border-left: none;
    border-top: none;
    width: 330px;
}

.xiaomi-star {
    width: 1240px;
    height: 360px;
    margin: 20px auto 0 auto;
}

.xiaomi-star-top {
    width: 1240px;
    height: 40px;
    font-size: 12px;
    color: #777;
    position: relative;
}

.xiaomi-star-top span:first-child {
    font-size: 16px;
    color: #333;
}

.xiaomi-star-top-page {
    width: 30px;
    height: 20px;
    border: 1px solid #ccc;
}

.btn1 {
    background: url('../images/05.png') no-repeat center center;
    position: absolute;
    right: 30px;
    bottom: 0;
}

.btn2 {
    background: url('../images/06.png') no-repeat center center;
    float: right;
    position: absolute;
    right: 0;
    bottom: 0;
}
.xiaomi-star-bottom {
    letter-spacing: -5px;
    height: 310px;
}

.xiaomi-star-bottom p {
    font-size: 16px;
}

.xiaomi-star-bottom span {
    font-size: 12px;
    color: #777;
}

.xiaomi-star-bottom div {
    text-align: center;
    border: 1px solid #ccc;
    width: 310px;
    height: 310px;
    display: inline-block;
    letter-spacing: normal;
    position: relative;
    top: -110px;
}

.xiaomi-star-bottom div:not(:last-child) {
    border-right: none;
}

.new-product {
    width: 1240px;
    margin: 30px auto 0;
    position: relative;
    margin-bottom: 70px;
}

.new-product>p {
    font-size: 16px;
}

.new-product>p>a {
    float: right;
    color: #333;
}

.new-product-left {
    width: 930px;
    height: 970px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.new-product-left-top {
    width: 930px;
    height: 310px;
}
.new-product-left-top>div:first-child {
    width: 620px;
    height: 310px;
    display: inline-block;
    border-bottom: 1px solid #ccc;
    background: url('../images/fanghezi0407xiao.jpg') no-repeat center center;
}

.new-product-left-top>div:last-child {
    background: url('../images/T1qaVvB7CT1RXrhCrK!220x220.jpg') no-repeat center center;
    width: 310px;
    height: 310px;
    float: right;
    text-align: center;
    border-bottom: 1px solid #ccc;
    border-left: 1px solid #ccc;
}

.new-product-left p {
    position: relative;
    left: 25px;
    top: 20px;
    text-align: left;
    color: #777
}

.new-product-left-center {
    width: 930px;
    height: 310px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

.new-product-left-center div:first-child {
    width: 310px;
    height: 310px;
    display: inline-block;
}

.new-product-left-center div:first-child div:first-child {
    width: 310px;
    height: 155px;
    background: url(../images/T1TfAgB4KT1RXrhCrK!220x220.jpg) no-repeat right center;
    background-size: 150px 150px;
    border-bottom: 1px solid #ccc;
}

.new-product-left-center div:first-child div:last-child {
    width: 310px;
    height: 155px;
    background: url(../images/T1SrKTBmWT1RXrhCrK!220x220.jpg) no-repeat right center;
    border: none;
    background-size: 150px 150px;
}

.new-product-left-center>.new-product-left-center-right {
    width: 310px;
    height: 310px;
    float: right;
    border-left: 1px solid #ccc;
    background: url('../images/T12qZvB7CT1RXrhCrK!220x220.jpg') no-repeat center center;
}

.new-product-left-center div:last-child {
    width: 310px;
    height: 310px;
    float: right;
    border-left: 1px solid #ccc;
    background: url('../images/T1crEgBCYT1RXrhCrK!220x220.jpg') no-repeat center center;
}

.new-product-left-bottom {
    width: 930px;
    height: 350px;
}

.new-product-left-bottom div:first-child {
    width: 310px;
    height: 350px;
    display: inline-block;
    border-right: 1px solid #ccc;
    background: url('../images/baohuke.png') no-repeat center center;
}

.new-product-left-bottom div:first-child+div {
    width: 310px;
    height: 350px;
    float: right;
    border-left: 1px solid #ccc;
    background: url('../images/T1GXxvBsET1RXrhCrK!220x220.jpg') no-repeat center center;
}

.new-product-left-bottom div:last-child {
    width: 310px;
    height: 350px;
    float: right;
    background: url('../images/T1DrL_B4CT1RXrhCrK!220x220.jpg') no-repeat center center;
}

.new-product-right {
    width: 310px;
    height: 970px;
    background: rgb(250, 250, 250);
    position: absolute;
    right: 0;
    bottom: 0;
    border: 1px solid #ccc;
    border-left: none;
}

.new-product-right>.new-product-right-top p {
    font-size: 16px;
    color: #333;
    position: relative;
    top: 30px;
    left: 20px;
}
.new-product-right span {
    font-size: 14px;
    color: #777;
    position: relative;
    top: 25px;
    left: 20px;
}

.new-product>.new-product-right>.new-product-right-top>.price {
    color: red;
}

.new-product>.new-product-right>.new-product-right-top>.price+span {
    text-decoration: line-through;
}

.new-product-right>div:first-child {
    height: 130px;
    background: url('../images/T1ByZTBjJT1RXrhCrK.jpg') no-repeat 180px center;
    background-size: 100px 100px;
    border-bottom: 1px solid #ccc;
}

.new-product-right>div:first-child>h5 {
    background: red;
    display: inline;
    color: #FFF;
    position: relative;
    top: -2px;
    left: 60px;
}

.new-product-right>div:first-child+div {
    height: 130px;
    background: url('../images/channel-list-cool.jpg') no-repeat 180px center;
    background-size: 100px 90px;
    border-bottom: 1px solid #ccc;
}

.new-product-right>div:first-child+div+div {
    height: 130px;
    background: url('../images/channel-list-new.jpg') no-repeat 180px center;
    background-size: 100px 90px;
    border-bottom: 1px solid #ccc;
}

.new-product-right-bottom {
    width: 310px;
    height: 580px;
}

.new-product-right-bottom>ul {
    display: block;
    width: 250px;
    height: 250px;
    list-style: none;
    margin: 20px auto;
}

.new-product-right-bottom>ul li {
    margin: 20px 0px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
}

.new-product-right-bottom a {
    font-size: 14px;
    color: #777;
}

.new-product-right-bottom a:hover {
    text-decoration: none;
    color: red;
}

.new-product-right-bottom>ul li i {
    float: right;
}

.new-product-right-bottom>.pay {
    width: 250px;
    height: 250px;
    margin: 60px auto 0;
}

.new-product-right-bottom>.pay>p:first-child {
    color: #777;
    font-size: 16px;
}

.new-product-right-bottom>.pay>input {
    width: 100%;
    height: 38px;
    margin-top: 5px;
}

.pay>select {
    width: 100%;
    height: 38px;
    margin-top: 20px;
}
.pay>button {
    width: 248px;
    height: 33px;
    border: 1px solid #ccc;
    color: #FFF;
}

.pay>.actually {
    color: #777;
    font-size: 14px;
    margin-top: 25px;
}
 
.foot {
    width: 100%;
    height: 540px;
    background: rgb(250, 250, 250);
}

.foot-warp {
    width: 1240px;
    height: 100%;
    margin: 0 auto;
}

.foot-top {
    width: 1240px;
    height: 160px;
    border-bottom: 1px solid #ccc;
    margin-left: auto;
    margin-right: auto;
}

.foot-top>ul li {
    display: inline-block;
    width: 244.5px;
    text-align: center;
}

.foot-top>ul li img {
    margin-top: 35px;
    margin-bottom: 20px;
}

.foot-top>ul li p {
    font-size: 16px;
    color: #777;
}

.foot-center {
    width: 1240px;
    height: 210px;
    border-bottom: 1px solid #ccc;
    margin-right: auto;
    margin-left: auto;
}

.foot-center>ul {
    list-style: none;
    width: 190px;
    border-right: 1px solid #ccc;
    float: left;
    margin-top: 40px;
    padding-bottom: 15px;
}

.foot-center>ul li:not(:first-child){
    margin-top: 15px;
}
.foot-center>ul:not(:first-child) li{
    margin-left: 30px;
}
.foot-center>ul>.foot-center-title {
    color: #333;
    font-size: 16px;
}
.foot-center>ul li a{
    color: #777;
}
.foot-center-right{
    display: inline-block;
    width: 290px;
    height: 200px;
    text-align: center;
}
.foot-center-right>p:first-child{
    color: #777;
    font-size: 20px;
    margin-top: 45px;
}
.foot-center-right>p:first-child+p{
    color: #777;
    font-size: 14px;
}
.foot-center-right>a{
    display: block;
    width: 120px;
    line-height: 30px;
    background: rgb(255, 74, 0);
    color: #FFF;
    margin-top: 10px;
    margin-left: 85px;
}
.foot-foot{
    width: 1240px;
    height: 180px;
    font-size: 12px;
    text-align: center;
    margin: 0 auto;
}
.foot-foot>ul{
    display: block;
    height: 12px;
    width: 910px;
    margin: 40px auto 0 auto;
}
.foot-foot>ul>li{
    float: left;
    list-style: none;
    padding-bottom: 5px;
}
.foot-warp>.foot-foot>ul>li:not(:first-child){
    border-right: 1px solid #ccc;
}
.foot-warp>.foot-foot>ul>li:last-child{
    border:none;
}

.foot-foot>ul>li>a{
    display: block;
    height: 12px;
    color: #333;
    margin: 0 10px;

}
.foot-foot>ul>li>a:hover{
    text-decoration: none;
}
.foot-foot>select{
    width: 200px;
    height: 38px;
}

